<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=0.1,">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <!--引入iconfont-->
    <link rel="stylesheet" href="//at.alicdn.com/t/font_2918272_v5cytzlnvba.css">
    <title><%= webpackConfig.name %></title>
  </head>
  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
  <script>
    function placeholderPic(){
      document.documentElement.style.fontSize=document.documentElement.offsetWidth/120+"px"; //同上
    }
    placeholderPic();
    window.οnresize=function(){  //窗口改变时再次执行一次函数即可
      placeholderPic();
    }
  </script>
</html>
